getType

open fun getType(): ModuleType

Gets the type of the underlying module or content associated with this control.

This indicates the primary nature or functionality of the control, such as whether it's a web view, video player, image display, etc.

Retrieves the type of the module associated with this clock view. The module type is determined from the module instance.

Return

The ModuleType parsed from the module's type string, or null if the module is null or its type string is null.

See also